<html>
<body>
<h2><%= "Hello World!" %></h2>

<script src="https://unpkg.com/axios/dist/axios.js"></script>
<script>

    axios({
        method: 'POST',
        url: 'http://localhost:8080/emp/update',
        data: {"empno":1001,"ename":"zhansgan","age":20}
    }).then(res=>{
        console.log(res.data);
    })

</script>

</body>
</html>
